package com.cnplan.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.cnplan.entity.SystemRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2018/5/2.
 */
public interface SystemRoleMapper extends BaseMapper<SystemRole> {

    List<SystemRole> listRoleByUserId(@Param("userId") Long userId);

}
